From: | James L Boyd |
Date: | 26 Sep 99 at 01:31:01 |
Subject: | Re: Rubber-band |
Rob Hutchinson churned out *this* drivel:
>>> Does anyone know how to get the current size or co-ordinates of the
>>> rubber-band?
>>> While you are still moving, I mean, before you "release" the size gadget.
>>
>> I really dont think that is possible, intuition suspends all other tasks
>> when you the drag or size gadgets of a window.
> I'm nearly 99.9% sure you won't get that from the system, but you could
> probably check what position (in the window) the mouse is at when you
> click on the size gadget and keep track of the mouse's /screen/ position
> from that point, then a little offset calculation should do the trick (?).
Just tried it and found you can't do it this way (or rather, /I/ can't :)
My only guess as to why you'd want these dimensions is so you can limit the size
the user drags to (?), in which case, you've got SizeLimits (for windows to
follow), or WindowLimits_ () for any specified window (-pointer), which'll
work immediately...
Unless you have some other mysterious reason for wanting this...?
See ya,
But what is all this fear of and opposition to oblivion? What
is the matter with the soft darkness, the dreamless sleep?
-- James Thurber
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie